{include file="/default/Header.tpl"}
<div id="content">
	<script type="text/javascript" charset="utf-8" src="/editor/kindeditor.js"></script>
	<div class="box">
    	<h2>{if $arr.pid>0}编辑报道{else}增加新报道{/if}</h2>
		<div class="edit">
            <form action="/article/add/" method="post" enctype="application/x-www-form-urlencoded">
                <table width="680" cellpadding="5" cellspacing="5">
                    <tr><th>标题:</th><td><input type="text" name="title" />给文章一个标题吧，如果你觉得有必要！</td></tr>
                    <tr><th>QQ:</th><td><input type="text" name="qq" value="" />没有人会看到你的QQ，在别人评论你的文章时，向你发送通知！</td></tr>
                    <tr><th>E-mail:</th><td><input type="text" name="email" value="" />不想留下QQ，留下E-mail也好，不过效果不是很好！</td></tr>
                    <tr><th>昵称:</th><td><input type="text" name="nickname" value="" />留下大名吧！</td></tr>
                    <tr><th>网址:</th><td><input type="text" name="url" value="http://" />你的博客或者是网站网址，记得要加 <span style=" color:#F00;">http://</span> 哦！</td></tr>
                    <tr><td colspan="2"><textarea name="content" id="contents" style="width:660px;height:300px;visibility:hidden;"></textarea></td></tr>
                </table>
             {literal}
             <script type="text/javascript">
				KE.show({
					id : 'contents',
					item:'',
					resizeMode : 1,
					allowPreviewEmoticons : false,
					allowUpload : false,
					filterMode : true,
					items : [
					'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
					'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
					'insertunorderedlist', '|', 'emoticons', 'image', 'flash', 'media', 'link' , '|' , 'hr'],
					htmlTags :{font : ['color', 'size', 'face', '.background-color'],span : ['style'],div : ['class', 'align', 'style'],table: ['class', 'border', 'cellspacing', 'cellpadding', 'width', 'height', 'align', 'style'],'td,th': ['class', 'align', 'valign', 'width', 'height', 'colspan', 'rowspan', 'bgcolor', 'style'],        a : ['class', 'href', 'target', 'name', 'style'],embed : ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality','style', 'align', 'allowscriptaccess', '/'],img : ['src', 'width', 'height', 'border', 'alt', 'title', 'align', 'style', '/'],hr : ['class', '/'],br : ['/'],'p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6' : ['align', 'style'],'tbody,tr,strong,b,sub,sup,em,i,u' : []}
				});
			</script>
			{/literal}
                <center><input type="submit" value="提   交" /></center>
            </form>
        </div>
    </div>
    
    {include file="/default/Home/Right.tpl"}
</div>
{include file="/default/Footer.tpl"}